import 'package:flutter/material.dart';

import '../../../../common/my_icon.dart';
import '../../../../config/global_config.dart';
import '../../../../utils/screenutil/fit.dart';

class NoneMonitoringFacility extends StatelessWidget {
  String txt;

  NoneMonitoringFacility({@required txt}) : this.txt = txt;

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 640.f,
      color: Colors.white,
      padding: EdgeInsets.symmetric(vertical: 50.f),
      child: Column(
        children: [
          Icon(
            MyIcon.cuowu,
            size: 90.f,
            color: GlobalConfig.assistColor,
          ),
          SizedBox(height: 10.f),
          Text(
            "$txt",
            style: TextStyle(
              color: GlobalConfig.assistColor,
              fontSize: 22.f,
            ),
          ),
        ],
      ),
    );
  }
}
